package org.come.Jpanel;

import com.tool.tcpimg.UIUtils;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.BorderFactory;
import javax.swing.JInternalFrame;
import javax.swing.plaf.basic.BasicInternalFrameUI;

import org.come.until.FormsManagement;

public class MsgJframe2 extends JInternalFrame implements MouseListener {
    private MsgJapnel2 japnel2 = new MsgJapnel2();

    public static MsgJframe2 getJframe2() {
        return (MsgJframe2)FormsManagement.getInternalForm(628).getFrame();
    }

    public MsgJframe2() {
        this.add(this.japnel2);
        this.setBackground(UIUtils.Color_BACK);
        this.setBorder(BorderFactory.createEmptyBorder());
        ((BasicInternalFrameUI)this.getUI()).setNorthPane(null);
        this.setBounds(0, 0, 470, 310);
        this.pack();
        this.setVisible(false);
        this.setDefaultCloseOperation(3);
    }

    public MsgJapnel2 getJapnel2() {
        return japnel2;
    }

    public void setJapnel2(MsgJapnel2 japnel2) {
        this.japnel2 = japnel2;
    }

    public void mouseClicked(MouseEvent e) {
        if (e.isMetaDown()) {
            FormsManagement.HideForm(628);
        }

    }

    public void mousePressed(MouseEvent e) {
    }

    public void mouseReleased(MouseEvent e) {
    }

    public void mouseEntered(MouseEvent e) {
        //
    }

    public void mouseExited(MouseEvent e) {
    }
}
